package neu.competition.service;

import neu.competition.dto.MatchesDTO;

import java.util.List;

public interface MatchesService {
    List<MatchesDTO> getMatchesListByUserId(String id);

    int insert(MatchesDTO matchesDTO, String id);

    MatchesDTO getMatchById(Integer id);

    int updateMatch(MatchesDTO matchesDTO);

    List<MatchesDTO> getMatchListByComId(Integer id);

    int matchUpdateStateCompetition(Integer id);

    boolean SignUp(int mid, int cid, int teamid);

    boolean isSignedup(int mid, int cid, String uid);
}
